package com.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.food.configure.Result;
import com.food.entity.BillExportEntity;
import com.food.entity.SaleLog;
import com.food.entity.StatisticEntity;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author
 * @since 2021-04-04
 */
public interface SaleLogService extends IService<SaleLog> {

    Result<SaleLog> updateSaleLog(SaleLog saleLog);

    Result<SaleLog> delSaleLog(SaleLog saleLog);

    Result<SaleLog> batchDelSaleLog(SaleLog saleLog);

    Result<SaleLog> querySaleLog(SaleLog saleLog);

    Result<SaleLog> querySaleLogByPage(SaleLog saleLog);

    Result<SaleLog> querySaleLogById(SaleLog saleLog);

    Result<BillExportEntity> billExport(BillExportEntity exportEntity);

    Result<StatisticEntity> materialStatistic(StatisticEntity statisticEntity);

}
